package com.qianfeng.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qianfeng.dao.UserRepository;
import com.qianfeng.pojo.UserNode;

@Service
public class UserService {

	@Autowired
	private UserRepository userRepository;
	
	public void addUserNode(UserNode userNode) {
		userRepository.addUserNodeList(userNode.getName(), userNode.getAge());
	}
}












